function getQ() {
        var url=window.location.href
        let search = url.substring(url.lastIndexOf('?') + 1);
        let query = {};
        let reg = /([^?&=]+)=([^?&=]*)/g;
        search.replace(reg, (rs, $1, $2) => {
                let name = decodeURIComponent($1);
                let val = decodeURIComponent($2);
                val = String(val);
                query[name] = val;
                return rs;
        });
        return query;
}

if (!getQ().banance===undefined){
	$("#banance").text("余额: ￥"+parseFloat(getQ().banance).toFixed(2))
	$("#real_pay").text("实付: ￥"+parseFloat(getQ().real_pay).toFixed(2))
}
else{
	AlipayJSBridge.call('popWindow');//支付宝直接关闭页面

}
